package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.OrderPayments;
import com.example.mall.dto.OrderPaymentsDto;
import com.example.mall.query.OrderPaymentsQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 订单支付记录表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-09
 */
public interface IOrderPaymentsService extends IService<OrderPayments> {

    // 分页查询订单支付记录表信息
    PageDTO<OrderPaymentsDto> queryPage(OrderPaymentsQuery orderPaymentsQuery);

    // 根据id查询订单支付记录表信息
    OrderPayments queryOrderPaymentsById(Long paymentId);

    // 查询全部订单支付记录表信息
    List<OrderPayments> queryOrderPaymentsList();

    // 修改订单支付记录表信息
    void update(OrderPaymentsDto orderPaymentsDto);
    // 新增订单支付记录表信息
    void insert(OrderPaymentsDto orderPaymentsDto);
    // 删除订单支付记录表信息
    void delete(Long paymentId);
    // 批量删除订单支付记录表信息
    void deleteBatch(List<Long> paymentIds);
}
